Spread Windows Forms 10.0 Product Documentation
OnValidate Method (CollectionBase<T>)


The object to validate.
Performs additional custom processes when validating a value.
Syntax
'Declaration
 
Protected Overrides Sub OnValidate( _
   ByVal value As Object _
) 
'Usage
 
Dim instance As CollectionBase(Of T)
Dim value As Object
 
instance.OnValidate(value)
protected override void OnValidate( 
   object value
)

Parameters

value
The object to validate.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionvalue is null.
InvalidOperationExceptionThe collection is locked.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

CollectionBase<T> Class
CollectionBase<T> Members

 

 


Copyright © GrapeCity, inc. All rights reserved.